delete

open fun delete(): EditorCommand

Returns a command that allows deleting the selected text in a text field, text area or WYSIWYG editor.